package com.rc.evcharger.model.hlht;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class HlhtTenantOpenPriceExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public HlhtTenantOpenPriceExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andOpenPriceIdIsNull() {
            addCriterion("open_price_id is null");
            return (Criteria) this;
        }

        public Criteria andOpenPriceIdIsNotNull() {
            addCriterion("open_price_id is not null");
            return (Criteria) this;
        }

        public Criteria andOpenPriceIdEqualTo(Long value) {
            addCriterion("open_price_id =", value, "openPriceId");
            return (Criteria) this;
        }

        public Criteria andOpenPriceIdNotEqualTo(Long value) {
            addCriterion("open_price_id <>", value, "openPriceId");
            return (Criteria) this;
        }

        public Criteria andOpenPriceIdGreaterThan(Long value) {
            addCriterion("open_price_id >", value, "openPriceId");
            return (Criteria) this;
        }

        public Criteria andOpenPriceIdGreaterThanOrEqualTo(Long value) {
            addCriterion("open_price_id >=", value, "openPriceId");
            return (Criteria) this;
        }

        public Criteria andOpenPriceIdLessThan(Long value) {
            addCriterion("open_price_id <", value, "openPriceId");
            return (Criteria) this;
        }

        public Criteria andOpenPriceIdLessThanOrEqualTo(Long value) {
            addCriterion("open_price_id <=", value, "openPriceId");
            return (Criteria) this;
        }

        public Criteria andOpenPriceIdIn(List<Long> values) {
            addCriterion("open_price_id in", values, "openPriceId");
            return (Criteria) this;
        }

        public Criteria andOpenPriceIdNotIn(List<Long> values) {
            addCriterion("open_price_id not in", values, "openPriceId");
            return (Criteria) this;
        }

        public Criteria andOpenPriceIdBetween(Long value1, Long value2) {
            addCriterion("open_price_id between", value1, value2, "openPriceId");
            return (Criteria) this;
        }

        public Criteria andOpenPriceIdNotBetween(Long value1, Long value2) {
            addCriterion("open_price_id not between", value1, value2, "openPriceId");
            return (Criteria) this;
        }

        public Criteria andTenantCodeIsNull() {
            addCriterion("tenant_code is null");
            return (Criteria) this;
        }

        public Criteria andTenantCodeIsNotNull() {
            addCriterion("tenant_code is not null");
            return (Criteria) this;
        }

        public Criteria andTenantCodeEqualTo(String value) {
            addCriterion("tenant_code =", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeNotEqualTo(String value) {
            addCriterion("tenant_code <>", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeGreaterThan(String value) {
            addCriterion("tenant_code >", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeGreaterThanOrEqualTo(String value) {
            addCriterion("tenant_code >=", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeLessThan(String value) {
            addCriterion("tenant_code <", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeLessThanOrEqualTo(String value) {
            addCriterion("tenant_code <=", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeLike(String value) {
            addCriterion("tenant_code like", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeNotLike(String value) {
            addCriterion("tenant_code not like", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeIn(List<String> values) {
            addCriterion("tenant_code in", values, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeNotIn(List<String> values) {
            addCriterion("tenant_code not in", values, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeBetween(String value1, String value2) {
            addCriterion("tenant_code between", value1, value2, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeNotBetween(String value1, String value2) {
            addCriterion("tenant_code not between", value1, value2, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andHlhtTenantCodeIsNull() {
            addCriterion("hlht_tenant_code is null");
            return (Criteria) this;
        }

        public Criteria andHlhtTenantCodeIsNotNull() {
            addCriterion("hlht_tenant_code is not null");
            return (Criteria) this;
        }

        public Criteria andHlhtTenantCodeEqualTo(String value) {
            addCriterion("hlht_tenant_code =", value, "hlhtTenantCode");
            return (Criteria) this;
        }

        public Criteria andHlhtTenantCodeNotEqualTo(String value) {
            addCriterion("hlht_tenant_code <>", value, "hlhtTenantCode");
            return (Criteria) this;
        }

        public Criteria andHlhtTenantCodeGreaterThan(String value) {
            addCriterion("hlht_tenant_code >", value, "hlhtTenantCode");
            return (Criteria) this;
        }

        public Criteria andHlhtTenantCodeGreaterThanOrEqualTo(String value) {
            addCriterion("hlht_tenant_code >=", value, "hlhtTenantCode");
            return (Criteria) this;
        }

        public Criteria andHlhtTenantCodeLessThan(String value) {
            addCriterion("hlht_tenant_code <", value, "hlhtTenantCode");
            return (Criteria) this;
        }

        public Criteria andHlhtTenantCodeLessThanOrEqualTo(String value) {
            addCriterion("hlht_tenant_code <=", value, "hlhtTenantCode");
            return (Criteria) this;
        }

        public Criteria andHlhtTenantCodeLike(String value) {
            addCriterion("hlht_tenant_code like", value, "hlhtTenantCode");
            return (Criteria) this;
        }

        public Criteria andHlhtTenantCodeNotLike(String value) {
            addCriterion("hlht_tenant_code not like", value, "hlhtTenantCode");
            return (Criteria) this;
        }

        public Criteria andHlhtTenantCodeIn(List<String> values) {
            addCriterion("hlht_tenant_code in", values, "hlhtTenantCode");
            return (Criteria) this;
        }

        public Criteria andHlhtTenantCodeNotIn(List<String> values) {
            addCriterion("hlht_tenant_code not in", values, "hlhtTenantCode");
            return (Criteria) this;
        }

        public Criteria andHlhtTenantCodeBetween(String value1, String value2) {
            addCriterion("hlht_tenant_code between", value1, value2, "hlhtTenantCode");
            return (Criteria) this;
        }

        public Criteria andHlhtTenantCodeNotBetween(String value1, String value2) {
            addCriterion("hlht_tenant_code not between", value1, value2, "hlhtTenantCode");
            return (Criteria) this;
        }

        public Criteria andHlhtOperatorIdIsNull() {
            addCriterion("hlht_operator_id is null");
            return (Criteria) this;
        }

        public Criteria andHlhtOperatorIdIsNotNull() {
            addCriterion("hlht_operator_id is not null");
            return (Criteria) this;
        }

        public Criteria andHlhtOperatorIdEqualTo(String value) {
            addCriterion("hlht_operator_id =", value, "hlhtOperatorId");
            return (Criteria) this;
        }

        public Criteria andHlhtOperatorIdNotEqualTo(String value) {
            addCriterion("hlht_operator_id <>", value, "hlhtOperatorId");
            return (Criteria) this;
        }

        public Criteria andHlhtOperatorIdGreaterThan(String value) {
            addCriterion("hlht_operator_id >", value, "hlhtOperatorId");
            return (Criteria) this;
        }

        public Criteria andHlhtOperatorIdGreaterThanOrEqualTo(String value) {
            addCriterion("hlht_operator_id >=", value, "hlhtOperatorId");
            return (Criteria) this;
        }

        public Criteria andHlhtOperatorIdLessThan(String value) {
            addCriterion("hlht_operator_id <", value, "hlhtOperatorId");
            return (Criteria) this;
        }

        public Criteria andHlhtOperatorIdLessThanOrEqualTo(String value) {
            addCriterion("hlht_operator_id <=", value, "hlhtOperatorId");
            return (Criteria) this;
        }

        public Criteria andHlhtOperatorIdLike(String value) {
            addCriterion("hlht_operator_id like", value, "hlhtOperatorId");
            return (Criteria) this;
        }

        public Criteria andHlhtOperatorIdNotLike(String value) {
            addCriterion("hlht_operator_id not like", value, "hlhtOperatorId");
            return (Criteria) this;
        }

        public Criteria andHlhtOperatorIdIn(List<String> values) {
            addCriterion("hlht_operator_id in", values, "hlhtOperatorId");
            return (Criteria) this;
        }

        public Criteria andHlhtOperatorIdNotIn(List<String> values) {
            addCriterion("hlht_operator_id not in", values, "hlhtOperatorId");
            return (Criteria) this;
        }

        public Criteria andHlhtOperatorIdBetween(String value1, String value2) {
            addCriterion("hlht_operator_id between", value1, value2, "hlhtOperatorId");
            return (Criteria) this;
        }

        public Criteria andHlhtOperatorIdNotBetween(String value1, String value2) {
            addCriterion("hlht_operator_id not between", value1, value2, "hlhtOperatorId");
            return (Criteria) this;
        }

        public Criteria andElecStationIdIsNull() {
            addCriterion("elec_station_id is null");
            return (Criteria) this;
        }

        public Criteria andElecStationIdIsNotNull() {
            addCriterion("elec_station_id is not null");
            return (Criteria) this;
        }

        public Criteria andElecStationIdEqualTo(Long value) {
            addCriterion("elec_station_id =", value, "elecStationId");
            return (Criteria) this;
        }

        public Criteria andElecStationIdNotEqualTo(Long value) {
            addCriterion("elec_station_id <>", value, "elecStationId");
            return (Criteria) this;
        }

        public Criteria andElecStationIdGreaterThan(Long value) {
            addCriterion("elec_station_id >", value, "elecStationId");
            return (Criteria) this;
        }

        public Criteria andElecStationIdGreaterThanOrEqualTo(Long value) {
            addCriterion("elec_station_id >=", value, "elecStationId");
            return (Criteria) this;
        }

        public Criteria andElecStationIdLessThan(Long value) {
            addCriterion("elec_station_id <", value, "elecStationId");
            return (Criteria) this;
        }

        public Criteria andElecStationIdLessThanOrEqualTo(Long value) {
            addCriterion("elec_station_id <=", value, "elecStationId");
            return (Criteria) this;
        }

        public Criteria andElecStationIdIn(List<Long> values) {
            addCriterion("elec_station_id in", values, "elecStationId");
            return (Criteria) this;
        }

        public Criteria andElecStationIdNotIn(List<Long> values) {
            addCriterion("elec_station_id not in", values, "elecStationId");
            return (Criteria) this;
        }

        public Criteria andElecStationIdBetween(Long value1, Long value2) {
            addCriterion("elec_station_id between", value1, value2, "elecStationId");
            return (Criteria) this;
        }

        public Criteria andElecStationIdNotBetween(Long value1, Long value2) {
            addCriterion("elec_station_id not between", value1, value2, "elecStationId");
            return (Criteria) this;
        }

        public Criteria andPriceIdIsNull() {
            addCriterion("price_id is null");
            return (Criteria) this;
        }

        public Criteria andPriceIdIsNotNull() {
            addCriterion("price_id is not null");
            return (Criteria) this;
        }

        public Criteria andPriceIdEqualTo(Long value) {
            addCriterion("price_id =", value, "priceId");
            return (Criteria) this;
        }

        public Criteria andPriceIdNotEqualTo(Long value) {
            addCriterion("price_id <>", value, "priceId");
            return (Criteria) this;
        }

        public Criteria andPriceIdGreaterThan(Long value) {
            addCriterion("price_id >", value, "priceId");
            return (Criteria) this;
        }

        public Criteria andPriceIdGreaterThanOrEqualTo(Long value) {
            addCriterion("price_id >=", value, "priceId");
            return (Criteria) this;
        }

        public Criteria andPriceIdLessThan(Long value) {
            addCriterion("price_id <", value, "priceId");
            return (Criteria) this;
        }

        public Criteria andPriceIdLessThanOrEqualTo(Long value) {
            addCriterion("price_id <=", value, "priceId");
            return (Criteria) this;
        }

        public Criteria andPriceIdIn(List<Long> values) {
            addCriterion("price_id in", values, "priceId");
            return (Criteria) this;
        }

        public Criteria andPriceIdNotIn(List<Long> values) {
            addCriterion("price_id not in", values, "priceId");
            return (Criteria) this;
        }

        public Criteria andPriceIdBetween(Long value1, Long value2) {
            addCriterion("price_id between", value1, value2, "priceId");
            return (Criteria) this;
        }

        public Criteria andPriceIdNotBetween(Long value1, Long value2) {
            addCriterion("price_id not between", value1, value2, "priceId");
            return (Criteria) this;
        }

        public Criteria andServicePriceAdjustTypeIsNull() {
            addCriterion("service_price_adjust_type is null");
            return (Criteria) this;
        }

        public Criteria andServicePriceAdjustTypeIsNotNull() {
            addCriterion("service_price_adjust_type is not null");
            return (Criteria) this;
        }

        public Criteria andServicePriceAdjustTypeEqualTo(String value) {
            addCriterion("service_price_adjust_type =", value, "servicePriceAdjustType");
            return (Criteria) this;
        }

        public Criteria andServicePriceAdjustTypeNotEqualTo(String value) {
            addCriterion("service_price_adjust_type <>", value, "servicePriceAdjustType");
            return (Criteria) this;
        }

        public Criteria andServicePriceAdjustTypeGreaterThan(String value) {
            addCriterion("service_price_adjust_type >", value, "servicePriceAdjustType");
            return (Criteria) this;
        }

        public Criteria andServicePriceAdjustTypeGreaterThanOrEqualTo(String value) {
            addCriterion("service_price_adjust_type >=", value, "servicePriceAdjustType");
            return (Criteria) this;
        }

        public Criteria andServicePriceAdjustTypeLessThan(String value) {
            addCriterion("service_price_adjust_type <", value, "servicePriceAdjustType");
            return (Criteria) this;
        }

        public Criteria andServicePriceAdjustTypeLessThanOrEqualTo(String value) {
            addCriterion("service_price_adjust_type <=", value, "servicePriceAdjustType");
            return (Criteria) this;
        }

        public Criteria andServicePriceAdjustTypeLike(String value) {
            addCriterion("service_price_adjust_type like", value, "servicePriceAdjustType");
            return (Criteria) this;
        }

        public Criteria andServicePriceAdjustTypeNotLike(String value) {
            addCriterion("service_price_adjust_type not like", value, "servicePriceAdjustType");
            return (Criteria) this;
        }

        public Criteria andServicePriceAdjustTypeIn(List<String> values) {
            addCriterion("service_price_adjust_type in", values, "servicePriceAdjustType");
            return (Criteria) this;
        }

        public Criteria andServicePriceAdjustTypeNotIn(List<String> values) {
            addCriterion("service_price_adjust_type not in", values, "servicePriceAdjustType");
            return (Criteria) this;
        }

        public Criteria andServicePriceAdjustTypeBetween(String value1, String value2) {
            addCriterion("service_price_adjust_type between", value1, value2, "servicePriceAdjustType");
            return (Criteria) this;
        }

        public Criteria andServicePriceAdjustTypeNotBetween(String value1, String value2) {
            addCriterion("service_price_adjust_type not between", value1, value2, "servicePriceAdjustType");
            return (Criteria) this;
        }

        public Criteria andServicePriceAdjustValueIsNull() {
            addCriterion("service_price_adjust_value is null");
            return (Criteria) this;
        }

        public Criteria andServicePriceAdjustValueIsNotNull() {
            addCriterion("service_price_adjust_value is not null");
            return (Criteria) this;
        }

        public Criteria andServicePriceAdjustValueEqualTo(BigDecimal value) {
            addCriterion("service_price_adjust_value =", value, "servicePriceAdjustValue");
            return (Criteria) this;
        }

        public Criteria andServicePriceAdjustValueNotEqualTo(BigDecimal value) {
            addCriterion("service_price_adjust_value <>", value, "servicePriceAdjustValue");
            return (Criteria) this;
        }

        public Criteria andServicePriceAdjustValueGreaterThan(BigDecimal value) {
            addCriterion("service_price_adjust_value >", value, "servicePriceAdjustValue");
            return (Criteria) this;
        }

        public Criteria andServicePriceAdjustValueGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("service_price_adjust_value >=", value, "servicePriceAdjustValue");
            return (Criteria) this;
        }

        public Criteria andServicePriceAdjustValueLessThan(BigDecimal value) {
            addCriterion("service_price_adjust_value <", value, "servicePriceAdjustValue");
            return (Criteria) this;
        }

        public Criteria andServicePriceAdjustValueLessThanOrEqualTo(BigDecimal value) {
            addCriterion("service_price_adjust_value <=", value, "servicePriceAdjustValue");
            return (Criteria) this;
        }

        public Criteria andServicePriceAdjustValueIn(List<BigDecimal> values) {
            addCriterion("service_price_adjust_value in", values, "servicePriceAdjustValue");
            return (Criteria) this;
        }

        public Criteria andServicePriceAdjustValueNotIn(List<BigDecimal> values) {
            addCriterion("service_price_adjust_value not in", values, "servicePriceAdjustValue");
            return (Criteria) this;
        }

        public Criteria andServicePriceAdjustValueBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("service_price_adjust_value between", value1, value2, "servicePriceAdjustValue");
            return (Criteria) this;
        }

        public Criteria andServicePriceAdjustValueNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("service_price_adjust_value not between", value1, value2, "servicePriceAdjustValue");
            return (Criteria) this;
        }

        public Criteria andUsingStatusIsNull() {
            addCriterion("using_status is null");
            return (Criteria) this;
        }

        public Criteria andUsingStatusIsNotNull() {
            addCriterion("using_status is not null");
            return (Criteria) this;
        }

        public Criteria andUsingStatusEqualTo(String value) {
            addCriterion("using_status =", value, "usingStatus");
            return (Criteria) this;
        }

        public Criteria andUsingStatusNotEqualTo(String value) {
            addCriterion("using_status <>", value, "usingStatus");
            return (Criteria) this;
        }

        public Criteria andUsingStatusGreaterThan(String value) {
            addCriterion("using_status >", value, "usingStatus");
            return (Criteria) this;
        }

        public Criteria andUsingStatusGreaterThanOrEqualTo(String value) {
            addCriterion("using_status >=", value, "usingStatus");
            return (Criteria) this;
        }

        public Criteria andUsingStatusLessThan(String value) {
            addCriterion("using_status <", value, "usingStatus");
            return (Criteria) this;
        }

        public Criteria andUsingStatusLessThanOrEqualTo(String value) {
            addCriterion("using_status <=", value, "usingStatus");
            return (Criteria) this;
        }

        public Criteria andUsingStatusLike(String value) {
            addCriterion("using_status like", value, "usingStatus");
            return (Criteria) this;
        }

        public Criteria andUsingStatusNotLike(String value) {
            addCriterion("using_status not like", value, "usingStatus");
            return (Criteria) this;
        }

        public Criteria andUsingStatusIn(List<String> values) {
            addCriterion("using_status in", values, "usingStatus");
            return (Criteria) this;
        }

        public Criteria andUsingStatusNotIn(List<String> values) {
            addCriterion("using_status not in", values, "usingStatus");
            return (Criteria) this;
        }

        public Criteria andUsingStatusBetween(String value1, String value2) {
            addCriterion("using_status between", value1, value2, "usingStatus");
            return (Criteria) this;
        }

        public Criteria andUsingStatusNotBetween(String value1, String value2) {
            addCriterion("using_status not between", value1, value2, "usingStatus");
            return (Criteria) this;
        }

        public Criteria andCreatedByIsNull() {
            addCriterion("created_by is null");
            return (Criteria) this;
        }

        public Criteria andCreatedByIsNotNull() {
            addCriterion("created_by is not null");
            return (Criteria) this;
        }

        public Criteria andCreatedByEqualTo(String value) {
            addCriterion("created_by =", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByNotEqualTo(String value) {
            addCriterion("created_by <>", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByGreaterThan(String value) {
            addCriterion("created_by >", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByGreaterThanOrEqualTo(String value) {
            addCriterion("created_by >=", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByLessThan(String value) {
            addCriterion("created_by <", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByLessThanOrEqualTo(String value) {
            addCriterion("created_by <=", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByLike(String value) {
            addCriterion("created_by like", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByNotLike(String value) {
            addCriterion("created_by not like", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByIn(List<String> values) {
            addCriterion("created_by in", values, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByNotIn(List<String> values) {
            addCriterion("created_by not in", values, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByBetween(String value1, String value2) {
            addCriterion("created_by between", value1, value2, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByNotBetween(String value1, String value2) {
            addCriterion("created_by not between", value1, value2, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeIsNull() {
            addCriterion("created_time is null");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeIsNotNull() {
            addCriterion("created_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeEqualTo(Date value) {
            addCriterion("created_time =", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeNotEqualTo(Date value) {
            addCriterion("created_time <>", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeGreaterThan(Date value) {
            addCriterion("created_time >", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("created_time >=", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeLessThan(Date value) {
            addCriterion("created_time <", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeLessThanOrEqualTo(Date value) {
            addCriterion("created_time <=", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeIn(List<Date> values) {
            addCriterion("created_time in", values, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeNotIn(List<Date> values) {
            addCriterion("created_time not in", values, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeBetween(Date value1, Date value2) {
            addCriterion("created_time between", value1, value2, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeNotBetween(Date value1, Date value2) {
            addCriterion("created_time not between", value1, value2, "createdTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByIsNull() {
            addCriterion("last_updated_by is null");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByIsNotNull() {
            addCriterion("last_updated_by is not null");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByEqualTo(String value) {
            addCriterion("last_updated_by =", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByNotEqualTo(String value) {
            addCriterion("last_updated_by <>", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByGreaterThan(String value) {
            addCriterion("last_updated_by >", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByGreaterThanOrEqualTo(String value) {
            addCriterion("last_updated_by >=", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByLessThan(String value) {
            addCriterion("last_updated_by <", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByLessThanOrEqualTo(String value) {
            addCriterion("last_updated_by <=", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByLike(String value) {
            addCriterion("last_updated_by like", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByNotLike(String value) {
            addCriterion("last_updated_by not like", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByIn(List<String> values) {
            addCriterion("last_updated_by in", values, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByNotIn(List<String> values) {
            addCriterion("last_updated_by not in", values, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByBetween(String value1, String value2) {
            addCriterion("last_updated_by between", value1, value2, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByNotBetween(String value1, String value2) {
            addCriterion("last_updated_by not between", value1, value2, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeIsNull() {
            addCriterion("last_updated_time is null");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeIsNotNull() {
            addCriterion("last_updated_time is not null");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeEqualTo(Date value) {
            addCriterion("last_updated_time =", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeNotEqualTo(Date value) {
            addCriterion("last_updated_time <>", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeGreaterThan(Date value) {
            addCriterion("last_updated_time >", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("last_updated_time >=", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeLessThan(Date value) {
            addCriterion("last_updated_time <", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeLessThanOrEqualTo(Date value) {
            addCriterion("last_updated_time <=", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeIn(List<Date> values) {
            addCriterion("last_updated_time in", values, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeNotIn(List<Date> values) {
            addCriterion("last_updated_time not in", values, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeBetween(Date value1, Date value2) {
            addCriterion("last_updated_time between", value1, value2, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeNotBetween(Date value1, Date value2) {
            addCriterion("last_updated_time not between", value1, value2, "lastUpdatedTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}